Carbon


DisposeRgn

Header: Quickdraw.h Carbon status: Supported

Releases the memory occupied by a region.

void DisposeRgn (
     rgn
);
Parameter descriptions
rgn

A handle to the region to dispose. This handle should be a region handle returned by the NewRgn function.

DISCUSSION

Use DisposeRgn only after you are completely through with a region.

SPECIAL CONSIDERATIONS

The DisposeRgn function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)